;
(function (window, angular) {
    'use strict';
    angular.module("Controller.BasicData.DailyStartworkRate", [])
        .controller("DailyStartworkRateCtrl", ["$scope", "ybHttp", "ybWidget", "MESG_TYPE", "$sce", "$timeout", function ($scope, ybHttp, ybWidget, MESG_TYPE, $sce, $timeout) {
            $scope.outterUrl = '';

            (function () {
                const params = {
                    baseUrl: 'https://report.xgwjj.com:10005/report/r_ada15-155tc6c6-kpej62/',
                    shareId: 'fc88ba7c4b0d24edf36d5a59765a5afa',
                    token: 'eP3slbTAmPonBjYI8Dd5AW06tq3UpAVP'
                }
                ybHttp.Get('device', '/bdurl/getUrl', params).then(function (resp) {
                    if (resp.code !== 0) {
                        ybWidget.ShowMessage(resp, MESG_TYPE.Error);
                        return;
                    }

                    $scope.outterUrl = $sce.trustAsResourceUrl(resp.value);
                });
            })();
        }])
    ;
})(window, window.angular);